package server;
public class User {
    private Integer id;

    private String phone;

    private String username;

    private String password;

    private String regtime;

    private String logtime;

    public User() {
    }

    public User(String phone, String username, String password, String regtime) {
        this.phone = phone;
        this.username = username;
        this.password = password;
        this.regtime = regtime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRegistrationtime() {
        return regtime;
    }

    public void setRegistrationtime(String regtime) {
        this.regtime = regtime;
    }

    public String getLogintime() {
        return logtime;
    }

    public void setLogintime(String logtime) {
        this.logtime = logtime;
    }
}